/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */

#ifndef __QS_SymbolSearchWidget_H__
#define __QS_SymbolSearchWidget_H__

#include <QtGui/QWidget>

class QAbstractItemModel;
class QComboBox;
class QCompleter;
class QLabel;
class QLineEdit;
class QProgressBar;
class QCheckBox;
class QSpinBox;

namespace QSThink
{

	class SymbolSearchWidget : public QWidget
	{
		Q_OBJECT

	public:
		SymbolSearchWidget(QWidget *parent = 0);

	private slots:
		void about();
		void changeCase(int);
		void changeMode(int);
		void changeModel();
		void changeMaxVisible(int);
	private:
		QAbstractItemModel *modelFromFile(const QString& fileName);

		QComboBox *caseCombo;
		QComboBox *modeCombo;
		QComboBox *modelCombo;
		QSpinBox *maxVisibleSpinBox;
		QCheckBox *wrapCheckBox;
		QCompleter *completer;
		QLabel *contentsLabel;
		QLineEdit *lineEdit;
	};
}

#endif

